package com.ddwl.common.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 类WalletConstant.java的实现描述：钱包常量
 *
 * @author zach
 * @Date :2020-07-25 14:47.
 */
public interface WalletConstant {


    /**
     * 提现状态
     */
    @AllArgsConstructor
    @Getter
    enum WithdrawStatus {
        CRE( 0, "审批中"),
        PRE( 10, "汇款中"),
        SUCCEED( 20, "完成"),
        FILL( 30, "失败"),
        ;
        private Integer code;
        private String name;
    }

    /**
     * 提现结果
     */
    @AllArgsConstructor
    @Getter
    enum WithdrawResult {
        SUCCESS,FAILED,PROCESSING,BANK_FAIL
    }

}
